package com.xiaow.springsecuriydemo.service;

import com.xiaow.springsecuriydemo.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaow.springsecuriydemo.vo.GoodVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaow
 * @since 2022-09-17
 */
public interface GoodsService extends IService<Goods> {
    public List<GoodVo> getAllGoods(Integer state);
    public GoodVo getOneById(Integer id);
}
